//
//  SISSRateBarView.h
//  test
//
//  Created by 优房网 on 2017/7/17.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SISSRateBarView;

@protocol SISSRateBarViewDelegate <NSObject>

- (void)rateBarViewDidSelectedRateBarView:(SISSRateBarView *)rateBarView atIndex:(NSInteger)index;

@end
@interface SISSRateBarView : UIView

/// rate
@property (assign, nonatomic) NSInteger rate;
/// maxRateValue 默认5颗星
@property (assign, nonatomic) NSInteger maxRateValue;
/// starTintColor
@property (strong, nonatomic) UIColor *starTintColor;
/// starBackgroundColor
@property (strong, nonatomic) UIColor *starBackgroundColor;

/// 代理对象
@property (weak, nonatomic) id<SISSRateBarViewDelegate> delegate;

@end
